import request from '@/utils/base.js'

// 获取oss上传地址
export function getUploadUrl(data) {
	return request({
		method: 'POST',
		data,
		url: '/oss/oss_minio/getMiniOUrlSignature',
		type: 4
	})
}


// 保存文件地址
export function setUploadUrl(data) {
	return request({
		method: 'POST',
		data,
		url: '/oss/oss_minio/addImgData',
		type: 4
	})
}